#pragma once

#define ROW 9
#define COL 9

#define ROWS ROW+2
#define COLS COL+2

#define EASY_MINE_NUM 2


typedef unsigned int uint;

void Init_Board(char board[ROWS][COLS],int rows,int cols,char set);

void Display_Board(char borad[ROWS][COLS],int row,int col);

int Get_Mine(char mine[ROWS][COLS], int x, int y);

void Fine_Mine(char mine[ROWS][COLS], char show[ROWS][COLS], int row, int col);

void Set_Mine(char mine[ROWS][COLS], int row, int col);

void batch_clear(char mine[ROWS][COLS], char show[ROWS][COLS], int x, int y);